package com.woniuxy.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.woniuxy.entity.OrderItem;
import com.woniuxy.entity.User;
import org.springframework.stereotype.Service;
import com.woniuxy.entity.Order;
import com.woniuxy.entity.OrderItem;

import java.util.List;

public interface OrderItemService extends IService<OrderItem> {
    public void adds(OrderItem orderItem);
    /**
    * @description: 根据订单id获取订单详情
     * @param id:
     * @return: com.woniuxy.entity.OrderItem
     * @date: 2021/8/16 10:23
     * @author: 魏炳豪
     */
    List<OrderItem> getByOrderId(int id);

}
